<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Oxygine: Json Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Oxygine
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">2g game engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Json Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>JSON (JavaScript Object Notation).  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_char_reader.html">CharReader</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_char_reader_builder.html">CharReaderBuilder</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a <a class="el" href="class_json_1_1_char_reader.html">CharReader</a> implementation.  <a href="class_json_1_1_char_reader_builder.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_exception.html">Exception</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_fast_writer.html">FastWriter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outputs a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format without formatting (not human friendly).  <a href="class_json_1_1_fast_writer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html">Features</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration passed to reader and writer. This configuration object can be used to force the <a class="el" href="class_json_1_1_reader.html" title="Unserialize a JSON document into a Value. ">Reader</a> or <a class="el" href="class_json_1_1_writer.html" title="Abstract class for writers. ">Writer</a> to behave in a standard conforming way.  <a href="class_json_1_1_features.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_logic_error.html">LogicError</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_path.html">Path</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Experimental and untested: represents a "path" to access a node.  <a href="class_json_1_1_path.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_path_argument.html">PathArgument</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Experimental and untested: represents an element of the "path" to access a node.  <a href="class_json_1_1_path_argument.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_reader.html">Reader</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unserialize a <a href="http://www.json.org">JSON</a> document into a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a>.  <a href="class_json_1_1_reader.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_runtime_error.html">RuntimeError</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_static_string.html">StaticString</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lightweight wrapper to tag static string.  <a href="class_json_1_1_static_string.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_stream_writer.html">StreamWriter</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_stream_writer_builder.html">StreamWriterBuilder</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a <a class="el" href="class_json_1_1_stream_writer.html">StreamWriter</a> implementation.  <a href="class_json_1_1_stream_writer_builder.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_styled_stream_writer.html">StyledStreamWriter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format in a human friendly way, to a stream rather than to a string.  <a href="class_json_1_1_styled_stream_writer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_styled_writer.html">StyledWriter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format in a human friendly way.  <a href="class_json_1_1_styled_writer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value.html">Value</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents a <a href="http://www.json.org">JSON</a> value.  <a href="class_json_1_1_value.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_const_iterator.html">ValueConstIterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">const iterator for object and array value.  <a href="class_json_1_1_value_const_iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_iterator.html">ValueIterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterator for object and array value.  <a href="class_json_1_1_value_iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_iterator_base.html">ValueIteratorBase</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">base class for <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> iterators.  <a href="class_json_1_1_value_iterator_base.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_writer.html">Writer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract class for writers.  <a href="class_json_1_1_writer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a08122e8005b706d982e48cca1e2119c7"><td class="memItemLeft" align="right" valign="top"><a id="a08122e8005b706d982e48cca1e2119c7"></a>
typedef int&#160;</td><td class="memItemRight" valign="bottom"><b>Int</b></td></tr>
<tr class="separator:a08122e8005b706d982e48cca1e2119c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a800fb90eb6ee8d5d62b600c06f87f7d4"><td class="memItemLeft" align="right" valign="top"><a id="a800fb90eb6ee8d5d62b600c06f87f7d4"></a>
typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>UInt</b></td></tr>
<tr class="separator:a800fb90eb6ee8d5d62b600c06f87f7d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac62566f36fd33115957b91305c9ed1dc"><td class="memItemLeft" align="right" valign="top"><a id="ac62566f36fd33115957b91305c9ed1dc"></a>
typedef int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>Int64</b></td></tr>
<tr class="separator:ac62566f36fd33115957b91305c9ed1dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf3fa5cb60c619e4f02315ad355e0ca1"><td class="memItemLeft" align="right" valign="top"><a id="adf3fa5cb60c619e4f02315ad355e0ca1"></a>
typedef uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>UInt64</b></td></tr>
<tr class="separator:adf3fa5cb60c619e4f02315ad355e0ca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a218d880af853ce786cd985e82571d297"><td class="memItemLeft" align="right" valign="top"><a id="a218d880af853ce786cd985e82571d297"></a>
typedef Int64&#160;</td><td class="memItemRight" valign="bottom"><b>LargestInt</b></td></tr>
<tr class="separator:a218d880af853ce786cd985e82571d297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae202ecad69725e23443f465e257456d0"><td class="memItemLeft" align="right" valign="top"><a id="ae202ecad69725e23443f465e257456d0"></a>
typedef UInt64&#160;</td><td class="memItemRight" valign="bottom"><b>LargestUInt</b></td></tr>
<tr class="separator:ae202ecad69725e23443f465e257456d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8048e741f2177c3b5d9ede4a5b8c53c2"><td class="memItemLeft" align="right" valign="top"><a id="a8048e741f2177c3b5d9ede4a5b8c53c2"></a>
typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>ArrayIndex</b></td></tr>
<tr class="separator:a8048e741f2177c3b5d9ede4a5b8c53c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a7d654b75c16a57007925868e38212b4e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4e">ValueType</a> { <br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4ea7d9899633b4409bd3fc107e6737f8391">nullValue</a> = 0, 
<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eae5a9d708d5c9e23ae9bf98898522512d">intValue</a>, 
<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eaea788d9a3bb00adc6d68d97d43e1ccd3">uintValue</a>, 
<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eab837c7b869c14d8be712deb45c9e490e">realValue</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4ea804ef857affea2d415843c73f261c258">stringValue</a>, 
<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4ea14c30dbf4da86f7b809be299f671f7fd">booleanValue</a>, 
<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eadc8f264f36b55b063c78126b335415f4">arrayValue</a>, 
<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">objectValue</a>
<br />
 }</td></tr>
<tr class="memdesc:a7d654b75c16a57007925868e38212b4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of the value held by a Value object.  <a href="namespace_json.html#a7d654b75c16a57007925868e38212b4e">More...</a><br /></td></tr>
<tr class="separator:a7d654b75c16a57007925868e38212b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fc417c23905b2ae9e2c47d197a45351"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351">CommentPlacement</a> { <a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351a52f1733775460517b2ea6bedf4906d52">commentBefore</a> = 0, 
<a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351a008a230a0586de54f30b76afe70fdcfa">commentAfterOnSameLine</a>, 
<a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351ac5784ca53b12250888ddb642b06aebef">commentAfter</a>, 
<a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351abcbd3eb00417335e094e4a03379659b5">numberOfCommentPlacement</a>
 }</td></tr>
<tr class="separator:a4fc417c23905b2ae9e2c47d197a45351"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a0ab7ff7f99788262d92d9ff3d924e065"><td class="memItemLeft" align="right" valign="top"><a id="a0ab7ff7f99788262d92d9ff3d924e065"></a>
JSONCPP_NORETURN void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a0ab7ff7f99788262d92d9ff3d924e065">throwRuntimeError</a> (JSONCPP_STRING const &amp;msg)</td></tr>
<tr class="memdesc:a0ab7ff7f99788262d92d9ff3d924e065"><td class="mdescLeft">&#160;</td><td class="mdescRight">used internally <br /></td></tr>
<tr class="separator:a0ab7ff7f99788262d92d9ff3d924e065"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27790f21f17922fac81e7cd72a5659a5"><td class="memItemLeft" align="right" valign="top"><a id="a27790f21f17922fac81e7cd72a5659a5"></a>
JSONCPP_NORETURN void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a27790f21f17922fac81e7cd72a5659a5">throwLogicError</a> (JSONCPP_STRING const &amp;msg)</td></tr>
<tr class="memdesc:a27790f21f17922fac81e7cd72a5659a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">used internally <br /></td></tr>
<tr class="separator:a27790f21f17922fac81e7cd72a5659a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab0cf1ecf81d1aeca12be2a416a84352"><td class="memItemLeft" align="right" valign="top">bool JSON_API&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#aab0cf1ecf81d1aeca12be2a416a84352">parseFromStream</a> (<a class="el" href="class_json_1_1_char_reader_1_1_factory.html">CharReader::Factory</a> const &amp;, JSONCPP_ISTREAM &amp;, <a class="el" href="class_json_1_1_value.html">Value</a> *root, std::string *errs)</td></tr>
<tr class="separator:aab0cf1ecf81d1aeca12be2a416a84352"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76fc30b06621ee513b29d4ba438860e1"><td class="memItemLeft" align="right" valign="top">JSON_API JSONCPP_ISTREAM &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a76fc30b06621ee513b29d4ba438860e1">operator&gt;&gt;</a> (JSONCPP_ISTREAM &amp;, <a class="el" href="class_json_1_1_value.html">Value</a> &amp;)</td></tr>
<tr class="memdesc:a76fc30b06621ee513b29d4ba438860e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read from 'sin' into 'root'.  <a href="#a76fc30b06621ee513b29d4ba438860e1">More...</a><br /></td></tr>
<tr class="separator:a76fc30b06621ee513b29d4ba438860e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabe79c4d15b195a343b06825693b0a16"><td class="memItemLeft" align="right" valign="top"><a id="aabe79c4d15b195a343b06825693b0a16"></a>
JSONCPP_STRING JSON_API&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#aabe79c4d15b195a343b06825693b0a16">writeString</a> (<a class="el" href="class_json_1_1_stream_writer_1_1_factory.html">StreamWriter::Factory</a> const &amp;factory, <a class="el" href="class_json_1_1_value.html">Value</a> const &amp;root)</td></tr>
<tr class="memdesc:aabe79c4d15b195a343b06825693b0a16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write into stringstream, then return string, for convenience. A <a class="el" href="class_json_1_1_stream_writer.html">StreamWriter</a> will be created from the factory, used, and then deleted. <br /></td></tr>
<tr class="separator:aabe79c4d15b195a343b06825693b0a16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ed9732688b3c3dcaec309c9baddeac9"><td class="memItemLeft" align="right" valign="top"><a id="a4ed9732688b3c3dcaec309c9baddeac9"></a>
JSONCPP_STRING JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (Int value)</td></tr>
<tr class="separator:a4ed9732688b3c3dcaec309c9baddeac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99bc401be7f8a09a8439f3e7219b1f12"><td class="memItemLeft" align="right" valign="top"><a id="a99bc401be7f8a09a8439f3e7219b1f12"></a>
JSONCPP_STRING JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (UInt value)</td></tr>
<tr class="separator:a99bc401be7f8a09a8439f3e7219b1f12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77501ed00903d1b183a55a5fbf6b749a"><td class="memItemLeft" align="right" valign="top"><a id="a77501ed00903d1b183a55a5fbf6b749a"></a>
JSONCPP_STRING JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (LargestInt value)</td></tr>
<tr class="separator:a77501ed00903d1b183a55a5fbf6b749a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a0432e5ac3dd69b6c7f29db7776ef21"><td class="memItemLeft" align="right" valign="top"><a id="a9a0432e5ac3dd69b6c7f29db7776ef21"></a>
JSONCPP_STRING JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (LargestUInt value)</td></tr>
<tr class="separator:a9a0432e5ac3dd69b6c7f29db7776ef21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa99b8b8dc736259e5a229a4e61d7ea92"><td class="memItemLeft" align="right" valign="top"><a id="aa99b8b8dc736259e5a229a4e61d7ea92"></a>
JSONCPP_STRING JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (double value)</td></tr>
<tr class="separator:aa99b8b8dc736259e5a229a4e61d7ea92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed05b7acd30f7442fe36b24c7abd10b9"><td class="memItemLeft" align="right" valign="top"><a id="aed05b7acd30f7442fe36b24c7abd10b9"></a>
JSONCPP_STRING JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (bool value)</td></tr>
<tr class="separator:aed05b7acd30f7442fe36b24c7abd10b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19a9262b788aa2754d3931e7cd01f2fc"><td class="memItemLeft" align="right" valign="top"><a id="a19a9262b788aa2754d3931e7cd01f2fc"></a>
JSONCPP_STRING JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToQuotedString</b> (const char *value)</td></tr>
<tr class="separator:a19a9262b788aa2754d3931e7cd01f2fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7143f1a02d02dfdc823ecca4c1988101"><td class="memItemLeft" align="right" valign="top">JSON_API JSONCPP_OSTREAM &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a7143f1a02d02dfdc823ecca4c1988101">operator&lt;&lt;</a> (JSONCPP_OSTREAM &amp;, const <a class="el" href="class_json_1_1_value.html">Value</a> &amp;root)</td></tr>
<tr class="memdesc:a7143f1a02d02dfdc823ecca4c1988101"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output using the <a class="el" href="class_json_1_1_styled_stream_writer.html" title="Writes a Value in JSON format in a human friendly way, to a stream rather than to a string...">StyledStreamWriter</a>.  <a href="#a7143f1a02d02dfdc823ecca4c1988101">More...</a><br /></td></tr>
<tr class="separator:a7143f1a02d02dfdc823ecca4c1988101"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>JSON (JavaScript Object Notation). </p>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a4fc417c23905b2ae9e2c47d197a45351"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fc417c23905b2ae9e2c47d197a45351">&#9670;&nbsp;</a></span>CommentPlacement</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351">Json::CommentPlacement</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a4fc417c23905b2ae9e2c47d197a45351a52f1733775460517b2ea6bedf4906d52"></a>commentBefore&#160;</td><td class="fielddoc"><p>a comment placed on the line before a value </p>
</td></tr>
<tr><td class="fieldname"><a id="a4fc417c23905b2ae9e2c47d197a45351a008a230a0586de54f30b76afe70fdcfa"></a>commentAfterOnSameLine&#160;</td><td class="fielddoc"><p>a comment just after a value on the same line </p>
</td></tr>
<tr><td class="fieldname"><a id="a4fc417c23905b2ae9e2c47d197a45351ac5784ca53b12250888ddb642b06aebef"></a>commentAfter&#160;</td><td class="fielddoc"><p>a comment on the line after a value (only make sense for </p>
</td></tr>
<tr><td class="fieldname"><a id="a4fc417c23905b2ae9e2c47d197a45351abcbd3eb00417335e094e4a03379659b5"></a>numberOfCommentPlacement&#160;</td><td class="fielddoc"><p>root value) </p>
</td></tr>
</table>

</div>
</div>
<a id="a7d654b75c16a57007925868e38212b4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d654b75c16a57007925868e38212b4e">&#9670;&nbsp;</a></span>ValueType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4e">Json::ValueType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Type of the value held by a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> object. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7d654b75c16a57007925868e38212b4ea7d9899633b4409bd3fc107e6737f8391"></a>nullValue&#160;</td><td class="fielddoc"><p>'null' value </p>
</td></tr>
<tr><td class="fieldname"><a id="a7d654b75c16a57007925868e38212b4eae5a9d708d5c9e23ae9bf98898522512d"></a>intValue&#160;</td><td class="fielddoc"><p>signed integer value </p>
</td></tr>
<tr><td class="fieldname"><a id="a7d654b75c16a57007925868e38212b4eaea788d9a3bb00adc6d68d97d43e1ccd3"></a>uintValue&#160;</td><td class="fielddoc"><p>unsigned integer value </p>
</td></tr>
<tr><td class="fieldname"><a id="a7d654b75c16a57007925868e38212b4eab837c7b869c14d8be712deb45c9e490e"></a>realValue&#160;</td><td class="fielddoc"><p>double value </p>
</td></tr>
<tr><td class="fieldname"><a id="a7d654b75c16a57007925868e38212b4ea804ef857affea2d415843c73f261c258"></a>stringValue&#160;</td><td class="fielddoc"><p>UTF-8 string value. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7d654b75c16a57007925868e38212b4ea14c30dbf4da86f7b809be299f671f7fd"></a>booleanValue&#160;</td><td class="fielddoc"><p>bool value </p>
</td></tr>
<tr><td class="fieldname"><a id="a7d654b75c16a57007925868e38212b4eadc8f264f36b55b063c78126b335415f4"></a>arrayValue&#160;</td><td class="fielddoc"><p>array value (ordered list) </p>
</td></tr>
<tr><td class="fieldname"><a id="a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6"></a>objectValue&#160;</td><td class="fielddoc"><p>object value (collection of name/value pairs). </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a7143f1a02d02dfdc823ecca4c1988101"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7143f1a02d02dfdc823ecca4c1988101">&#9670;&nbsp;</a></span>operator&lt;&lt;()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JSON_API JSONCPP_OSTREAM&amp; Json::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">JSONCPP_OSTREAM &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_json_1_1_value.html">Value</a> &amp;&#160;</td>
          <td class="paramname"><em>root</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Output using the <a class="el" href="class_json_1_1_styled_stream_writer.html" title="Writes a Value in JSON format in a human friendly way, to a stream rather than to a string...">StyledStreamWriter</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_json.html#a76fc30b06621ee513b29d4ba438860e1" title="Read from &#39;sin&#39; into &#39;root&#39;. ">Json::operator&gt;&gt;()</a> </dd></dl>

</div>
</div>
<a id="a76fc30b06621ee513b29d4ba438860e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76fc30b06621ee513b29d4ba438860e1">&#9670;&nbsp;</a></span>operator&gt;&gt;()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JSON_API JSONCPP_ISTREAM&amp; Json::operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">JSONCPP_ISTREAM &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_json_1_1_value.html">Value</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read from 'sin' into 'root'. </p>
<p>Always keep comments from the input JSON.</p>
<p>This can be used to read a file into a particular sub-object. For example: </p><div class="fragment"><div class="line"><a class="code" href="class_json_1_1_value.html">Json::Value</a> root;</div><div class="line">cin &gt;&gt; root[<span class="stringliteral">&quot;dir&quot;</span>][<span class="stringliteral">&quot;file&quot;</span>];</div><div class="line">cout &lt;&lt; root;</div></div><!-- fragment --><p> Result: </p><pre class="fragment">{
"dir": {
    "file": {
    // The input stream JSON would be nested here.
    }
}
}
</pre> <dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::exception</td><td>on parse error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_json.html#a7143f1a02d02dfdc823ecca4c1988101" title="Output using the StyledStreamWriter. ">Json::operator&lt;&lt;()</a> </dd></dl>

</div>
</div>
<a id="aab0cf1ecf81d1aeca12be2a416a84352"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab0cf1ecf81d1aeca12be2a416a84352">&#9670;&nbsp;</a></span>parseFromStream()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JSON_API Json::parseFromStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_json_1_1_char_reader_1_1_factory.html">CharReader::Factory</a> const &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">JSONCPP_ISTREAM &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_json_1_1_value.html">Value</a> *&#160;</td>
          <td class="paramname"><em>root</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string *&#160;</td>
          <td class="paramname"><em>errs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Consume entire stream and use its begin/end. Someday we might have a real StreamReader, but for now this is convenient. </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 4 2018 03:50:05 for Oxygine by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
